/*************************************************
 Copyright (C), 2018, NanJu Tech. Co., Ltd.
 Author:       wunan
 Version:      1.0
 Date:         2018/11/10
 Description:  
 Others:       
 History:      
 *************************************************/
package com.yantong.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

public @interface Auth {
    int arg() default -1;

    //忽略强制校验用户token 保证能继续执行
    boolean needPass() default false;
}
